.hot-search-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  width: 50%;

  .cards-wrapper {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;

    .card-container {
      flex: 1 1 calc(50% - 12px);
      min-width: 0;
      word-break: break-word;

      .card-title {
        margin-bottom: 16px;
        font-size: 18px;
        font-weight: 600;
        color: #333;
      }
    }
  }

  // 抖音卡片样式
  .douyin-card {
    background: linear-gradient(135deg, #000 0%, #222 100%);
    border-radius: 12px;
    color: white;

    .ant-list-item {
      padding: 12px 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.2s ease;
      height: 48px;
      display: flex;
      align-items: center;

      &:hover {
        background-color: rgba(255, 255, 255, 0.05);
      }
    }

    .douyin-rank {
      display: inline-block;
      width: 24px;
      height: 24px;
      line-height: 24px;
      text-align: center;
      background: linear-gradient(135deg, #FE2C55 0%, #25F4EE 100%);
      border-radius: 4px;
      margin-right: 12px;
      font-weight: bold;
    }

    a {
      color: white;
      transition: all 0.2s ease;

      &:hover {
        color: #25F4EE;
      }
    }

    .douyin-hot {
      float: right;
      color: #FFD700;
      font-size: 14px;
    }
  }

  // 微博卡片样式
  .weibo-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

    .ant-list-item {
      padding: 12px 16px;
      border-bottom: 1px solid #f0f0f0;
      transition: all 0.2s ease;
      height: 48px;
      display: flex;
      align-items: center;

      &:hover {
        background-color: #fafafa;
      }
    }

    .weibo-rank {
      color: #FF8200;
      margin-right: 12px;
    }

    a {
      color: #333;
      transition: all 0.2s ease;

      &:hover {
        color: #FF8200;
      }
    }

    .weibo-tag {
      display: inline-block;
      margin-left: 8px;
      padding: 2px 6px;
      background-color: #FF8200;
      color: white;
      border-radius: 4px;
      font-size: 12px;
    }

    // 百度卡片样式
    .baidu-card {
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

      .ant-list-item {
        padding: 12px 16px;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.2s ease;
        height: 48px;
        display: flex;
        align-items: center;

        &:hover {
          background-color: #fafafa;
        }
      }

      .baidu-rank {
        color: #1e9ff3;
        margin-right: 12px;
      }

      a {
        color: #333;
        transition: all 0.2s ease;

        &:hover {
          color: #1e9ff3;
        }
      }

      .baidu-tag {
        display: inline-block;
        margin-left: 8px;
        padding: 2px 6px;
        background-color: #1e9ff3;
        color: white;
        border-radius: 4px;
        font-size: 12px;
      }
  }

  .error-message {
    color: #ff4d4f;
    text-align: center;
    padding: 24px;
    font-size: 16px;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 8px 0;

  button {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;

    &:hover:not(:disabled) {
      color: #1890ff;
      border-color: #1890ff;
    }

    &:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }

  span {
    color: #666;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .hot-search-container {
    padding: 12px;

    .cards-wrapper {
      flex-direction: column;
      gap: 16px;

      .card-container {
        flex: 1 1 100%;
      }
    }

    .douyin-card,
    .weibo-card,
    .baidu-card{
      border-radius: 8px;
    }

    .pagination {
      gap: 12px;

      button {
        padding: 4px 8px;
      }
    }
  }
}
}
